<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">
	主持单位和主要参加单位分工
</div>
	<table  id="tblMileStoness" cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<tr >
				<td align="center"  width="10%">序号</td>
				<td class="TblHead" align="center"  width="22.5%">单位名称</td> 
				<td class="TblHead" align="center"  width="22.5%">合作形式</td> 
				<td class="TblHead" align="center"  width="22.5%">联系人</td> 
				<td class="TblHead" align="center"  width="22.5%">电话</td> 
			</tr>
			<c:set value="0" var="index" scope="page"/>
			<x:forEach select="$xmlData/data/milestoness/milestone" var="milestone">
				<c:choose>
					<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
					<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
				</c:choose>
				<tr >
					<td align="center">
						<x:out select="$milestone/@seq_no"/>
					</td>
					<td><x:out select="$milestone/unit"/>
					</td>
					<td><x:out select="$milestone/cooperation_form"/>
					</td>
					<td><x:out select="$milestone/lxr_name"/></td>
					<td><x:out select="$milestone/lxr_phone"/></td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page"/>
			</x:forEach>
	</table>
	<%-- <table  id="tblMileStoness1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
		<tr>
			<td width="10%" align="center">备注</td>
			<td width="30%">（产学研合作的项目请附产学研合作协议）</td>
			
			<td  width="60%" align="center" style="WORD-WRAP: break-word">
				<c:set var="file_code"><x:out select="$xmlData/data/basic_info/proof_file_code1" /></c:set>
				<div id="proof_content1" style=" float:left; width: 80%;"  >  	 <c:if test="${empty file_code }">display:none;</c:if>
					<div  id="proof_file1" style="<c:if test="${empty file_code}">display:none;</c:if>">
						<a id="file_url1" class="link_x" href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/basic_info/proof_file_code1" />" style="cursor: pointer;"> <span name="basic_info/proof_file_name1" id="file_name1" style="color: blue;"><x:out select="$xmlData/data/basic_info/proof_file_name1" /></span></a>
						&nbsp;(上传时间<span name="basic_info/proof_file_date1" id="proof_file_date1"><iris:xout select="$xmlData/data/basic_info/proof_file_date1" /></span>)
					</div>
				</div>
			</td>
		</tr>
	</table> --%>
	
<script type="text/javascript">
	$(function(){
		changeCss();
	});
	function changeCss() {
			$("table.t_css").each(function(){
				$(this).find("tr:even").removeClass().addClass("li_1");
				$(this).find("tr:odd").removeClass().addClass("li_2");
			});
			changeCss1("tblMileStoness","tblMileStoness1");
		}
		function changeCss1(id1,id2) {
			if($("#"+id1+" tr:last").attr("class")=="li_1"){
				$("#"+id2+" tr").removeClass("li_1").addClass("li_2");
			}else{
				$("#"+id2+" tr").removeClass("li_2").addClass("li_1");
			}
		}
</script>		